﻿using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;

#if DEBUG
[assembly: AssemblyTitle("HST-H3 (Debug)")]
[assembly: AssemblyDescription("HST-H3 (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyProduct("UniversalHost5 (Debug)")]
#else
[assembly: AssemblyTitle("HST-H3 (Release)")]
[assembly: AssemblyDescription("HST-H3 (Release)")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyProduct("UniversalHost5 (Release)")]
#endif

[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © Labthink 2020")]
[assembly: AssemblyTrademark("")]

[assembly: ComVisible(false)]

//若要开始生成可本地化的应用程序，请
//<PropertyGroup> 中的 .csproj 文件中
//例如，如果您在源文件中使用的是美国英语，
//使用的是美国英语，请将 <UICulture> 设置为 en-US。  然后取消 
//对以下 NeutralResourceLanguage 特性的注释。  更新
//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。

//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]


[assembly: ThemeInfo(
    ResourceDictionaryLocation.None, //主题特定资源词典所处位置
                                     //(当资源未在页面
                                     //或应用程序资源字典中找到时使用)
    ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
                                              //(当资源未在页面
                                              //、应用程序或任何主题专用资源字典中找到时使用)
)]

// 前3位来自根目录下的GitInfo.txt
[assembly: AssemblyVersion(ThisAssembly.Git.BaseVersion.Major + "." +
                           ThisAssembly.Git.BaseVersion.Minor + "." +
                           ThisAssembly.Git.BaseVersion.Patch + "." +
                           ThisAssembly.Git.Commits)]

[assembly: AssemblyFileVersion(ThisAssembly.Git.BaseVersion.Major + "." +
                               ThisAssembly.Git.BaseVersion.Minor + "." +
                               ThisAssembly.Git.BaseVersion.Patch + "." +
                               ThisAssembly.Git.Commits)]

[assembly: AssemblyInformationalVersion(ThisAssembly.Git.BaseVersion.Major + "." +
                                        ThisAssembly.Git.BaseVersion.Minor + "." +
                                        ThisAssembly.Git.BaseVersion.Patch + "." +
                                        ThisAssembly.Git.Commits +
                                        " (" + ThisAssembly.Git.Branch + " " + ThisAssembly.Git.Commit + ")")]
